<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>v-bind指令</title>
<!--引入Vue库-->
<script src="vue.js"></script>
</head>
<body>	
<div id="app">	  
  <img v-bind:src="imgSrc1"  width="200px" alt=""/>
  <img :src="imgSrc2"  width="200px" alt=""/>
</div>
<script>
var vm=new Vue({ 
    el: "#app",
    data: {
        imgSrc1:'t01.jpg',
        imgSrc2:'t02.jpg'
      }
   })
</script>
</body>
</html>
